package com.cisdi.blog.dao;

import com.cisdi.blog.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

/**
 * @author pengyangyan
 * @version 1.0.0
 * @date 2020年03月18日 09:44:00
 */
@Repository
public interface UserRepository extends JpaRepository<User,Long> {

    User findUserByUsernameAndPassword(String username,String password);

}
